Skip to main content

mouseAction

Type

property

Summary

The header action that the mouse pointer is currently over.

Syntax

get the mouseAction of <widget>

Description

The mouseAction property contains the name of the action that was just clicked, or empty when no action was clicked.

You can read the mouseAction property to detect which action was activated when handling the mouseUp message.

Examples

-- Go to the previous card when the header's "back" action is
-- clicked.
on mouseUp
if the mouseAction of the target is "back" then
go previous
end if
end mouseUp

message: mouseUp

property: itemNames